IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace > RangeVerifierArgs<T> Class > RangeVerifierArgs<T> Constructor : RangeVerifierArgs<T> Constructor(Type,String,Boolean,String,Nullable<T>,Boolean,Nullable<T>,Boolean,Nullable<Boolean>) |
'Declaration
Public Function New( _ ByVal applicableType As Type, _ ByVal propertyName As String, _ ByVal isRequired As Boolean, _ ByVal displayName As String, _ ByVal minValue As Nullable(Of T), _ ByVal includeMinEndpoint As Boolean, _ ByVal maxValue As Nullable(Of T), _ ByVal includeMaxEndpoint As Boolean, _ Optional ByVal shouldTreatEmptyStringAsNull As Nullable(Of Boolean) _ )
'Usage
Dim applicableType As Type Dim propertyName As String Dim isRequired As Boolean Dim displayName As String Dim minValue As Nullable(Of T) Dim includeMinEndpoint As Boolean Dim maxValue As Nullable(Of T) Dim includeMaxEndpoint As Boolean Dim shouldTreatEmptyStringAsNull As Nullable(Of Boolean) Dim instance As New RangeVerifierArgs(Of T)(applicableType, propertyName, isRequired, displayName, minValue, includeMinEndpoint, maxValue, includeMaxEndpoint, shouldTreatEmptyStringAsNull)
public RangeVerifierArgs<T>( Type applicableType, string propertyName, bool isRequired, string displayName, Nullable<T> minValue, bool includeMinEndpoint, Nullable<T> maxValue, bool includeMaxEndpoint, Nullable<bool> shouldTreatEmptyStringAsNull )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2